package com.niiwoo.civet.trade.dto.request.databackflow;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 通讯录回流请求参数
 */
@Setter
@Getter
public class AddressListBackFlowRequestDTO implements Serializable {
    private static final long serialVersionUID = 5871157116229638306L;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 设备id
     */
    private String deviceId;

    /**
     * 用户设备操作系统
     */
    private String os;

    /**
     * 是否root or 越狱
     */
    private Integer equipmentStatus;

    /**
     * 通讯录详情
     */
    private List<Address> addressList;

    @Setter
    @Getter
    public static class Address implements Serializable{
        private static final long serialVersionUID = 6966721801915059083L;
        /**
         * 手机号码
         */
        private String mobile;

        /**
         * 联系人姓名
         */
        private String remark;
    }
}
